var Ball = Class.extend({
	x : null, // Number
	y : null, // Number
	r : 10,   // Number
	speedX : 0,
	speedY : 0,
	accelX : 0,
	accelY : 0,
	
	init: function(config)
	{
		this.x = config.x || 0;
		this.y = config.y || 0;
	},
	getSpeed: function(){
		return Math.sqrt(this.speedX*this.speedX+
		this.speedY*this.speedY);
	}
	
});
